<html xmlns="http://www.w3c.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>

</h:head>
<h:body>
	<h:form id="form_associativity2_data" >


		<div class="clearfix common-panel">
			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{i18n['lbl.owner.associativity2.work_associativity']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{aSession.selectedRuatRegister.workingInPartnership}" />
					</div>
				</div>
				<div class="ui-form-col"></div>
			</div>
			<p:panel
				rendered="#{aSession.selectedRuatRegister.workingInPartnership == '1'}"
				styleClass="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel value="#{i18n['lbl.owner.associativity2.name']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:inputText
							value="#{aSession.selectedRuatRegister.associateName}"
							id="associateNameId" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{i18n['lbl.owner.associativity2.confidence_grade']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{aSession.selectedRuatRegister.confidenceGrade}" />
					</div>
				</div>

			</p:panel>
			<p:panel
				rendered="#{aSession.selectedRuatRegister.workingInPartnership == '1'}"
				styleClass="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{i18n['lbl.owner.associativity2.last_name']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:inputText
							value="#{aSession.selectedRuatRegister.associateLastName}"
							id="associateLastNameId" />
					</div>
				</div>
				<div class="ui-form-col"></div>
			</p:panel>
			<p:panel
				rendered="#{aSession.selectedRuatRegister.workingInPartnership == '1'}"
				styleClass="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{i18n['lbl.owner.associativity2.farm_village']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{aSession.selectedRuatRegister.associateVillage}" />
					</div>
				</div>
				<div class="ui-form-col"></div>

			</p:panel>
		</div>
		<div class="clearfix common-panel">
			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{i18n['lbl.owner.associativity2.lbl_followed']}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel value="#{i18n['lbl.owner.associativity2.product']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:selectOneMenu
							value="#{aSession.selectedRuatRegister.followProduct}">
							<f:selectItem itemLabel="#{i18n['cmpnt.select_one']}"
								itemValue="" />
							<f:selectItems
								value="#{activityProductionSourceCmb.parameterDTO.options}" />
						</p:selectOneMenu>
					</div>
				</div>
			</div>
			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{i18n['lbl.owner.associativity2.followed_name']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:inputText value="#{aSession.selectedRuatRegister.followName}" />
					</div>
				</div>
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{i18n['lbl.owner.associativity2.frequency']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:selectOneMenu
							value="#{aSession.selectedRuatRegister.frequencyOfConsultation}">
							<f:selectItem itemLabel="#{i18n['cmpnt.select_one']}"
								itemValue="" />
							<f:selectItems
								value="#{frequencyOfConsultationCmb.parameterDTO.options}" />
						</p:selectOneMenu>
					</div>
				</div>
			</div>
			<div class="ui-form-row-2col clearfix">
				<div class="ui-form-col">
					<div class="clearfix text-align-left">
						<p:outputLabel
							value="#{i18n['lbl.owner.associativity2.followed_lastname']}" />
					</div>
					<div class="clearfix text-align-left">
						<p:inputText
							value="#{aSession.selectedRuatRegister.followLastName}" />
					</div>
				</div>
				<div class="ui-form-col"></div>

			</div>
		</div>


	</h:form>
</h:body>

</html>